#include <jni.h>
#include "log.h"


#ifndef IMCLIENTLIB_H_
#define IMCLIENTLIB_H_
JNIEnv* getJNIEnv();
void readData(JNIEnv *,int);
void receiveMessage(JNIEnv *,const char*,const char*);
void headleInfo(JNIEnv *,const char*);
int colsoServer(JNIEnv *);
#endif /* LOG_H_ */
#ifndef _Included_com_im_client_lib_ImClientLib
#define _Included_com_im_client_lib_ImClientLib
#ifdef __cplusplus
extern "C" {
#endif



JNIEXPORT jboolean JNICALL Java_com_im_client_lib_ImClientLib_start(JNIEnv *, jobject,jstring,jstring, jstring, jint,jstring);

JNIEXPORT jboolean JNICALL Java_com_im_client_lib_ImClientLib_sendMessage(JNIEnv *, jobject,jstring,jstring);

JNIEXPORT jboolean JNICALL Java_com_im_client_lib_ImClientLib_close(JNIEnv *, jobject);

JNIEXPORT jboolean JNICALL Java_com_im_client_lib_ImClientLib_reset(JNIEnv *, jobject);
#ifdef __cplusplus
}
#endif
#endif


